package com.easylinkin.linkappapi.afterloan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.afterloan.entity.AfterloanEnterpriseinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AfterloanEnterpriseinfoMapper extends BaseMapper<AfterloanEnterpriseinfo> {
   /***
    * 查询企业故障功能菜单
    * @param afterloanEnterpriseinfo
    * @return
    */
   List<AfterloanEnterpriseinfo> getAfterloanEnterpriseinfo(@Param("risk")AfterloanEnterpriseinfo afterloanEnterpriseinfo);

   /***
    * 查询企业故障功能菜单（分页）
    * @param page
    * @param afterloanEnterpriseinfo
    * @return
    */
   List<AfterloanEnterpriseinfo> getAfterloanEnterpriseinfo(@Param("page") Page page, @Param("risk")AfterloanEnterpriseinfo afterloanEnterpriseinfo);
}